package hello.app.model.data;

public class CallHistory {
	private String id;
	private String cachedName;
	private String cachedNumber;
	private String date = "";
	private int type;
	public static final int INCOMING = 1;
	public static final int OUTGOING = 2;
	public static final int MISSED = 3;

	public CallHistory(String id, String cachedName, String cachedNumber, String date){
		this.id = id;
		this.cachedName = cachedName;
		this.cachedNumber = cachedNumber;
		this.date = date;
	}

	public CallHistory(String id, String cachedName, String cachedNumber, String date, int type){
		this.id = id;
		this.cachedName = cachedName;
		this.cachedNumber = cachedNumber;
		this.date = date;
		this.type = type;
	}

	public CallHistory(String cachedName, String cachedNumber){
		this.cachedName = cachedName;
		this.cachedNumber = cachedNumber;
	}

	public String getCachedName() {
		return cachedName;
	}

	public void setCachedName(String cachedName) {
		this.cachedName = cachedName;
	}

	public String getCachedNumber() {
		return cachedNumber;
	}

	public void setCachedNumber(String cachedNumber) {
		this.cachedNumber = cachedNumber;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
